import sqlite3

conn = sqlite3.connect("file.db")

if conn:
    print("服务器连接成功...")

    db = conn.cursor()

    db.execute("""
    
    create table image_tb(
        id int auto_increment primary key not null,
        image_name varchar(50) not null,
        image_url varchar(100) not null,
        image_time datetime not null,
        author varchar(50)
    )
 
    """)


    conn.commit()
    conn.close()
    print("创建表成功！")